/* 全局样式文件 */

/* 挑战详情页通用样式 */
.challenge-page {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

/* 挑战概览 */
.challenge-overview {
  display: flex;
  margin-bottom: 30px;
  background-color: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.challenge-overview-left {
  width: 40%;
}

.challenge-cover-container {
  position: relative;
  height: 100%;
  min-height: 200px;
}

.green-gradient {
  background: linear-gradient(135deg, #43a047 0%, #1de9b6 100%);
}

.blue-gradient {
  background: linear-gradient(135deg, #1976d2 0%, #64b5f6 100%);
}

.purple-gradient {
  background: linear-gradient(135deg, #6a1b9a 0%, #ce93d8 100%);
}

.orange-gradient {
  background: linear-gradient(135deg, #e65100 0%, #ffb74d 100%);
}

.challenge-overview-right {
  width: 60%;
  padding: 30px;
}

.challenge-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 28px;
  color: #333;
}

/* 选项卡样式 */
.tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 5px;
  border-bottom: 2px solid transparent;
}

.tab.active {
  color: #4CAF50;
  border-bottom: 2px solid #4CAF50;
}

/* 按钮样式 */
.btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-right: 10px;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #4CAF50;
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: #4CAF50;
  border: 1px solid #4CAF50;
}

/* 任务卡片样式 */
.task-card {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.task-day {
  color: #4CAF50;
  font-weight: bold;
  margin-bottom: 5px;
}

/* 进度条样式 */
.progress-container {
  width: 100%;
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background-color: #4CAF50;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 0;
  transition: width 0.3s ease;
} 